﻿namespace Cngot.Extensions.DependencyInjection.WebApi
{
    public interface ITestService
    {
        public string Test();
    }
    [DependencyInjection(typeof(ITestService), ServiceLifetime.Singleton,"aaa")]
    internal class TestService : ITestService
    {
        public string Test()
        {
            return DateTime.Now.ToString();
        }
    }
}
